<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
    <title>my_mobile_system</title>
    <link rel="shortcut icon" type="image/x-icon" href="//cs-static-assets.oss-cn-beijing.aliyuncs.com/ds_system/ds.ico" /> 
    <link rel="stylesheet" href="//at.alicdn.com/t/font_761231_ci68ol0boqo.css">
    <!-- 进行即时聊天 -->
    <script src="//cdn.socket.io/socket.io-1.4.5.js"></script>
  </head>
  <body>
    <div id="app"></div>
  </body>
  <script>
    // 获取手机屏幕宽度
    let htmlWidth = document.documentElement.clientWidth || document.body.clientWidth;
    if (htmlWidth > 750) {
      htmlWidth = 750;
    }
    // 获取html元素
    const htmlDom = document.getElementsByTagName('html')[0];
    // 设置html元素
    htmlDom.style.fontSize = htmlWidth / 20 + 'px';
  </script>
</html>
